-- GENERATED SPELL FOR [Tar Creeper] --


function spell0_6527(pUnit, Event) --@Trample,Self--
pUnit:FullCastSpellOnTarget(5568,pUnit)
pUnit:RegisterEvent('Sorts_6527', 579, 1)
end

function Sorts_6527(pUnit, Event)
local choix_sorts_6527 = math.random(0, 0)
if choix_sorts_6527 == 0 then
pUnit:RegisterEvent('spell0_6527', 1, 1)
end
end

function mob6527_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_6527', math.random(1500, 3000), 1)
end

function mob6527_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob6527_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob6527_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(6527, 1, 'mob6527_Action')
RegisterUnitEvent(6527, 2, 'mob6527_Leave')
RegisterUnitEvent(6527, 3, 'mob6527_Kill')
RegisterUnitEvent(6527, 4, 'mob6527_Die')
